package com.example.io.datajek.springbasics.movierecommendersystem.lesson5;

import com.example.io.datajek.springbasics.movierecommendersystem.lesson3.Filter;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;

@Component
public class CollaborativeFilter implements Filter {
    public String[] getRecommendations(String moive){
        //协作式过滤器的逻辑
        return new String[] {"Finding Nemo","Ice Age ", "Toy Story"};
    }
}
